﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// HU - REST API hívások eredménye
/// EN - Result of all REST API
/// </summary>
public class WebResult
{
  /// <summary>
  /// HU - Hibaüzenet
  /// EN - 
  /// </summary>
  public string ErrorText { get; set; }

  /// <summary>
  /// HU - Hibakód
  /// EN - 0 means no Error, 1 means Error
  /// </summary>
  public int ErrorCode { get; set; }

  /// <summary>
  /// HU - Ez meg itten az eredmény
  /// EN - 
  /// </summary>
  public List<object> Result = new List<object>();

  /// <summary>
  /// 
  /// </summary>
  public WebResult()
  {
    ErrorText = ""; ErrorCode = 0;
  }
}